package website.digitalocean.chapter7;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.TimeUnit;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/10 10:21
 * @version: 1.0
 */
@Slf4j
public class CommandExecutorImpl implements CommandExecutor {
    @Override
    public void runCommand(String command) throws Exception {
        TimeUnit.SECONDS.sleep(1);
        log.info("[{}] 命令执行完成", command);
    }
}
